<script language="javascript">
   
				 function goAdd(){
					
					if ( document.frm.id.value== null ||document.frm.id.value== ""  ) {
						alert(" Input ID!");
						document.frm.id.focus();
						return false;
					}
					
					if ( document.frm.pswd.value== null ||document.frm.pswd.value== ""  ) {
						alert("Input password!");
						document.frm.pswd.focus();
						return false;
					}
				    document.frm.flag.value = 'I';
					document.frm.target = 'noShow';
					document.frm.submit();		
			
				}
				function goUpdate(){
					
					if ( document.frm.id.value== null ||document.frm.id.value== ""  ) {
						alert(" Input ID!");
						document.frm.id.focus();
						return false;
					}
					document.frm.flag.value = 'U';
					document.frm.target = 'noShow';
					document.frm.submit();		
			
				}
				function goRemove(){
					
					if ( document.frm.id.value== null ||document.frm.id.value== ""  ) {
						alert(" Input ID!");
						document.frm.id.focus();
						return false;
					}
				    document.frm.flag.value = 'R';
					document.frm.target = 'noShow';
					document.frm.submit();		
			
				}
				
</script>

<html>
<head><title>User add </title></head>
<body>
<form name="frm" method="post" action="adduser_proc.jsp">
<input type="hidden" name="flag">
<br>
<br>
<br>
 <table border="0" cellpadding="10" >
	<tbody>
				<tr><td>
				User ID*:</td><td><input maxlength="10" name="id" size="15" >
				</td></tr>
				<tr><td>
				Password*:</td><td><input type="password" maxlength="10" name="pswd" size="15">
				</td></tr>
				<tr><td>
				Email*:</td><td><input maxlength="10" name="email" size="30" >
				</td></tr>
				<tr><td>
				Tel*:</td><td><input maxlength="10" name="tel" size="15" >
				</td></tr>
				
	   </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="200">
	<tbody>
		<tr>
			<td height="7" width="20"><input type="button" value="ADD" onclick="goAdd()" ></td>
			<td height="7" width="10"><input type="button" value="UPDATE" onclick ="goUpdate()"></td>
			<td height="7" width="120"><input type="button" value="REMOVE" onclick ="goRemove()"></td>
		</tr>
	</tbody>
</table>
<iframe name="noShow" id="noShow" width=0 height=0 frameborder=0 ></iframe>
</form>
</body>
</html>